//
//  NGForumSearchController.swift
//  NingguoForum
//
//  Created by zhengsw on 2025/8/8.
//  Copyright © 2025 zhengsw. All rights reserved.
//

import UIKit

class NGForumSearchController: UIViewController, NGForumSearchNavigationBarViewDelegate {

    func goUserInfoAction() {
        self.navigationController?.popViewController(animated: true)
    }
    
    func searchAction(text: String) {
        
    }
    
    lazy var navigationBar: NGForumSearchNavigationBarView = {
        navigationBar = NGForumSearchNavigationBarView(frame: CGRect(x: 0, y: 0, width: KSCREEN_WIDTH, height: KDevice_NaviBar_Height))
        navigationBar.delegate = self
        return navigationBar
    }()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = .white
        view.addSubview(navigationBar)
    }
    deinit {
           print("ViewController deinit")  // 不会执行
       }
}
